home *** CD-ROM | disk | FTP | other *** search
/ Floppyshop 2 / Floppyshop - 2.zip / Floppyshop - 2.iso / diskmags / 5791-.end / dmg-5873 / 3rdguide / fonts.txt < prev    next >
Text File  |  1998-10-24  |  3KB  |  69 lines

  1. DESKTOP /⑧x1k1
  2.                                   םגגגגגגג™
  3.                                   ø FONTS ø
  4.                                   ijגגגגגגגך
  5.         FONT = HEADER + CELL_TABLE + CHARACTER_TABLE + DATA
  6.  
  7. HEADER:
  8. -------
  9. byte#
  10.  0- 1   Font type                     (1:system 2-...:user)
  11.  2- 3   Font height                   (in points,1/72")
  12.  4-19   Font name                     (ascii)
  13. 20-35   Font style                    (ascii)
  14. 36-37   First character               (ascii)
  15. 38-39   Last  character               (ascii)
  16. 40-41   Baseline/topline     distance (in pixels)
  17. 42-43   Baseline/ascentline  distance (in pixels)
  18. 44-45   Baseline/halfline    distance (in pixels)
  19. 46-47   Baseline/descentline distance (in pixels)
  20. 48-49   Baseline/bottomline  distance (in pixels)
  21. 50-51   Character maxi width          (in pixels)
  22. 52-53   Cell      maxi width          (in pixels)
  23. 54-55   Left  offset                  (in pixels)
  24. 56-57   Right offset                  (in pixels)
  25. 58-59   Thickening  value             (in pixels)
  26. 60-61   Underlining value             (in pixels)
  27. 62-63   Lightening  mask
  28. 64-65   Skewing     mask
  29. 66-67   Flags                         ( b0:system font               )
  30.                                       ( b1:cellW<>characterW         )
  31.                                       ( b2:little endian             )
  32.                                       ( b3:characterW=characterWmaxi )
  33. 68-71   Cell_table      pointer
  34. 72-75   Character_table pointer
  35. 76-79   Data            pointer
  36. 80-81   Data with/line                (in bytes)
  37. 82-83   Data height                   (in lines)
  38. 84-87   Next font       pointer
  39.  
  40. CELL_TABLE:
  41. -----------
  42. byte#
  43.  0- 1   Start of the 1st cell         (in bits)
  44.  2- 3   Start of the 2nd cell         (in bits)
  45.  4- 5   Start of the 3rd cell         (in bits)
  46.  6- 7   Start of the 4th cell         (in bits)
  47.  8- 9   Start of the 5th cell         (in bits)
  48.   ...           ...
  49.  
  50. CHARACTER_TABLE:
  51. ----------------
  52. byte#
  53.  0- 1   Start of the 1st character    (in bits)
  54.  2- 3   Start of the 2nd character    (in bits)
  55.  4- 5   Start of the 3rd character    (in bits)
  56.  6- 7   Start of the 4th character    (in bits)
  57.  8- 9   Start of the 5th character    (in bits)
  58.   ...           ...
  59.  
  60. DATA:
  61. -----
  62. byte#
  63.  0*Data_with    Start of the 1st line of all characters
  64.  1*Data_with    Start of the 2nd line of all characters
  65.  2*Data_with    Start of the 3rd line of all characters
  66.  3*Data_with    Start of the 4th line of all characters
  67.  4*Data_with    Start of the 5th line of all characters
  68.      ...                ...
  69.